$Status
= Transfer ("<ExtensionNum>",
<Timeout>)
Transfers
the call to an extension phone.
Parameters
<ExtensionNum>
The EPABX extension number.
<Timeout>
Time in milliseconds waiting
for the call to be picked up.
Return
Value
Returns the status of the call transfer.
Remarks
- On voice cards/drivers where no internal implementation of transfer() is supported, the function will emulate a blindtransfer() instead.
Example
:MAIN
answer
$status = Transfer("30",20)
if $status == "CONNECTED"
Hangup
Endif
Hangup
goto MAIN
:ONHANGUP
Hangup
goto MAIN
:ONTIMEOUT
Clear
Play "TimeLimitExpired.wav"
Hangup
goto MAIN
Possible values for $Status are: